#include <stdio.h>

float hsv[64][3]=
{{1		,0      ,0      },
{1      ,0.09375,0      },
{1      ,0.18750,0      },
{1      ,0.28125,0      },
{1      ,0.37500,0      },
{1      ,0.46875,0      },
{1      ,0.56250,0      },
{1      ,0.65625,0      },
{1      ,0.75000,0      },
{1      ,0.84375,0      },
{1      ,0.93750,0      },
{0.96875,1      ,0      },
{0.87500,1      ,0      },
{0.78125,1      ,0      },
{0.68750,1      ,0      },
{0.59375,1      ,0      },
{0.50000,1      ,0      },
{0.40625,1      ,0      },
{0.31250,1      ,0      },
{0.21875,1      ,0      },
{0.12500,1      ,0      },
{0.03125,1      ,0      },
{0      ,1      ,0.06250},
{0      ,1      ,0.15625},
{0      ,1      ,0.25000},
{0      ,1      ,0.34375},
{0      ,1      ,0.43750},
{0      ,1      ,0.53125},
{0      ,1      ,0.62500},
{0      ,1      ,0.71875},
{0      ,1      ,0.81250},
{0      ,1      ,0.90625},
{0      ,1      ,1      },
{0      ,0.90625,1      },
{0      ,0.81250,1      },
{0      ,0.71875,1      },
{0      ,0.62500,1      },
{0      ,0.53125,1      },
{0      ,0.43750,1      },
{0      ,0.34375,1      },
{0      ,0.25000,1      },
{0      ,0.15625,1      },
{0      ,0.06250,1      },
{0.03125,0      ,1      },
{0.12500,0      ,1      },
{0.21875,0      ,1      },
{0.31250,0      ,1      },
{0.40625,0      ,1      },
{0.50000,0      ,1      },
{0.59375,0      ,1      },
{0.68750,0      ,1      },
{0.78125,0      ,1      },
{0.87500,0      ,1      },
{0.96875,0      ,1      },
{1      ,0      ,0.93750},
{1      ,0      ,0.84375},
{1      ,0      ,0.75000},
{1      ,0      ,0.65625},
{1      ,0      ,0.56250},
{1      ,0      ,0.46875},
{1      ,0      ,0.37500},
{1      ,0      ,0.28125},
{1      ,0      ,0.18750},
{1      ,0      ,0.09375}};

float jet[64][3]=
{{0		,0		,0.5625},
{0		,0		,0.6250},
{0		,0		,0.6875},
{0		,0		,0.7500},
{0		,0		,0.8125},
{0		,0		,0.8750},
{0		,0		,0.9375},
{0		,0		,1.0000},
{0		,0.0625	,1.0000},
{0		,0.1250	,1.0000},
{0		,0.1875	,1.0000},
{0		,0.2500	,1.0000},
{0		,0.3125	,1.0000},
{0		,0.3750	,1.0000},
{0		,0.4375	,1.0000},
{0		,0.5000	,1.0000},
{0		,0.5625	,1.0000},
{0		,0.6250	,1.0000},
{0		,0.6875	,1.0000},
{0		,0.7500	,1.0000},
{0		,0.8125	,1.0000},
{0		,0.8750	,1.0000},
{0		,0.9375	,1.0000},
{0		,1.0000	,1.0000},
{0.0625	,1.0000	,0.9375},
{0.1250	,1.0000	,0.8750},
{0.1875	,1.0000	,0.8125},
{0.2500	,1.0000	,0.7500},
{0.3125	,1.0000	,0.6875},
{0.3750	,1.0000	,0.6250},
{0.4375	,1.0000	,0.5625},
{0.5000	,1.0000	,0.5000},
{0.5625	,1.0000	,0.4375},
{0.6250	,1.0000	,0.3750},
{0.6875	,1.0000	,0.3125},
{0.7500	,1.0000	,0.2500},
{0.8125	,1.0000	,0.1875},
{0.8750	,1.0000	,0.1250},
{0.9375	,1.0000	,0.0625},
{1.0000	,1.0000 ,0	   },
{1.0000	,0.9375 ,0	   },
{1.0000	,0.8750 ,0	   },
{1.0000	,0.8125 ,0	   },
{1.0000	,0.7500 ,0	   },
{1.0000	,0.6875 ,0	   },
{1.0000	,0.6250 ,0	   },
{1.0000	,0.5625 ,0	   },
{1.0000	,0.5000 ,0	   },
{1.0000	,0.4375 ,0	   },
{1.0000	,0.3750 ,0	   },
{1.0000	,0.3125 ,0	   },
{1.0000	,0.2500 ,0	   },
{1.0000	,0.1875 ,0	   },
{1.0000	,0.1250 ,0	   },
{1.0000	,0.0625 ,0	   },
{1.0000 ,0		,0	   },
{0.9375 ,0		,0	   },
{0.8750 ,0		,0	   },
{0.8125 ,0		,0	   },
{0.7500 ,0		,0	   },
{0.6875 ,0		,0	   },
{0.6250 ,0		,0	   },
{0.5625 ,0		,0	   },
{0.5000 ,0		,0	   }};

float randCol[64][3]=
{{0		,0		,0.5625},
{0		,0		,0.6250},
{0		,0.5625	,1.0000},
{0.0625	,1.0000	,0.9375},
{0.6250	,1.0000	,0.3750},
{0.5000	,1.0000	,0.5000},
{1.0000	,0.3750 ,0	   },
{1.0000	,0.9375 ,0	   },
{0.8125	,1.0000	,0.1875},
{0.6875	,1.0000	,0.3125},
{0.9375	,1.0000	,0.0625},
{0.2500	,1.0000	,0.7500},
{0		,0.3750	,1.0000},
{0		,0		,0.6875},
{0.1250	,1.0000	,0.8750},
{0.5625	,1.0000	,0.4375},
{1.0000	,0.7500 ,0	   },
{1.0000 ,0		,0	   },
{0		,0.4375	,1.0000},
{0.8750	,1.0000	,0.1250},
{0.3125	,1.0000	,0.6875},
{0.4375	,1.0000	,0.5625},
{0		,0		,0.8750},
{0.1875	,1.0000	,0.8125},
{0.6250 ,0		,0	   },
{1.0000	,0.3125 ,0	   },
{0		,0		,0.9375},
{0		,0		,1.0000},
{1.0000	,0.8750 ,0	   },
{0		,0.5000	,1.0000},
{0		,0.6875	,1.0000},
{1.0000	,0.6250 ,0	   },
{1.0000	,0.5000 ,0	   },
{0		,0.6250	,1.0000},
{1.0000	,0.6875 ,0	   },
{0		,0.1250	,1.0000},
{1.0000	,0.5625 ,0	   },
{0.9375 ,0		,0	   },
{1.0000	,1.0000 ,0	   },
{0		,0.1875	,1.0000},
{0		,0.2500	,1.0000},
{0		,0.3125	,1.0000},
{1.0000	,0.4375 ,0	   },
{0.8750 ,0		,0	   },
{0.8125 ,0		,0	   },
{0.7500 ,0		,0	   },
{0.7500	,1.0000	,0.2500},
{0		,0.0625	,1.0000},
{0		,0.7500	,1.0000},
{1.0000	,0.8125 ,0	   },
{0		,0.8125	,1.0000},
{0		,0.8750	,1.0000},
{0		,0.9375	,1.0000},
{0		,1.0000	,1.0000},
{0.3750	,1.0000	,0.6250},
{1.0000	,0.1875 ,0	   },
{0.6875 ,0		,0	   },
{1.0000	,0.2500 ,0	   },
{0		,0		,0.7500},
{1.0000	,0.1250 ,0	   },
{0		,0		,0.8125},
{1.0000	,0.0625 ,0	   },
{0.5625 ,0		,0	   },
{0.5000 ,0		,0	   }};
